package app.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shishun.wang
 * @date 下午4:42:05 2016年5月4日
 * @version 1.0
 * @describe 
 */
@RestController
public class ErrorController implements org.springframework.boot.autoconfigure.web.ErrorController {

	private static final String PATH = "/error";

    @RequestMapping(value = PATH)
    public String error() {
        return "Error handling 哈哈";
    }
	
	public String getErrorPath() {
		return PATH;
	}

}
